<template>
  <div class="outer">
    <h1>Header组件:{{ count }}</h1>
    <Nav></Nav>
  </div>
</template>

<script>
export default {
  name: "Header组件",
  data() {
    return {
      count: 0,
    };
  },
};
</script>

<style scoped>
.outer {
  width: 300px;
  height: 300px;
  background: yellowgreen;
}
.outer >>> p {
  color: red;
}
</style>